projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a93668f
)
Clarify one FIXME a bit
author
Khaled Hosny
<khaledhosny@eglug.org>
Mon, 24 Dec 2018 02:00:04 +0000
(
04:00
+0200)
committer
Khaled Hosny
<khaledhosny@eglug.org>
Mon, 24 Dec 2018 02:00:04 +0000
(
04:00
+0200)
src/ftfont.c
patch
|
blob
|
history
diff --git
a/src/ftfont.c
b/src/ftfont.c
index bc37a6ae0d11ee47c5bc831aacb52521749a8fef..74d72f94abd7ffe4e0e78f2ad32f8d6d93a9ee57 100644
(file)
--- a/
src/ftfont.c
+++ b/
src/ftfont.c
@@
-2850,8
+2850,8
@@
ftfont_shape_by_hb (Lisp_Object lgstring, FT_Face ft_face, hb_font_t *hb_font,
return Qnil;
glyph_len = hb_buffer_get_length (hb_buffer);
- /* FIXME:
number of output glyphs can legitimately be larger than number of
- * o
utput characters, what to do in this case?
*/
+ /* FIXME:
can't we just grew the lgstring in this case? Givving up is an
+ * o
verly heavy handed solution.
*/
if (glyph_len > LGSTRING_GLYPH_LEN (lgstring))
return Qnil;